package com.wanmei.mapper;

import com.wanmei.pojo.Transport;
import org.apache.ibatis.annotations.Param;

public interface TransportMapper {

    Double getMoneyByCidAndAdress(@Param("cid") int cid, @Param("fromAddress")String fromAddress, @Param("toAddress") String toAddress);

    int deleteByPrimaryKey(Integer tid);

    int insert(Transport record);

    int insertSelective(Transport record);

    Transport selectByPrimaryKey(Integer tid);

    int deleteByCid(Integer cid);

    int updateByPrimaryKeySelective(Transport record);

    int updateByPrimaryKey(Transport record);
}